package com.haiyou.dc.oa.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.persistence.*;
import java.io.Serializable;


/**
 * 
 *
 * @author Administrator
 * @date 2020-01-05 16:26:23
 */
@ApiModel(value = "")
@Data
@Accessors(chain = true)
@Table(name = "person")
public class Person implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @ApiModelProperty(value = "id", name = "id")
    private Integer id;

    /**
     * person_birth_day
     */
    @Column(name = "person_birth_day")
    @ApiModelProperty(value = "person_birth_day", name = "personBirthDay")
    private String personBirthDay;

    /**
     * person_death_day
     */
    @Column(name = "person_death_day")
    @ApiModelProperty(value = "person_death_day", name = "personDeathDay")
    private String personDeathDay;

    /**
     * person_name
     */
    @Column(name = "person_name")
    @ApiModelProperty(value = "person_name", name = "personName")
    private String personName;

    /**
     * person_english_name
     */
    @Column(name = "person_english_name")
    @ApiModelProperty(value = "person_english_name", name = "personEnglishName")
    private String personEnglishName;

    /**
     * person_biography
     */
    @Column(name = "person_biography")
    @ApiModelProperty(value = "person_biography", name = "personBiography")
    private String personBiography;

    /**
     * person_birth_place
     */
    @Column(name = "person_birth_place")
    @ApiModelProperty(value = "person_birth_place", name = "personBirthPlace")
    private String personBirthPlace;

}
